PSaveAsMasterPage(const char * sMasterName, PMBool bOverwrite);
Layout view only. The PSaveAsMasterPage command works only in layout view.const char * sMasterName;
Name of new master page (maximum of 31 charac ters)PMBool bOverwrite;
false to leave existing master unchanged (if one exists with same name)
true to overwrite existing master (if one exists with same name)
Facing pages. If a two-page spread is currently displayed, PSaveAsMasterPage creates a two-page master spread. If a single page is displayed, PSaveAsMasterPage creates a single master page.
Unique name. When you copy a page to a new master page, be sure you are not overwriting an existing one. Use the PGetMasterPageList to determine the names of all existing master pages.
Example. Copies the content, guides, and margins of the current page to a new master named "Chapter." If an existing master already has the name "Chapter," the PSaveAsMasterPage overwrites it.
PSaveAsMasterPage("Chapter", true);
The PGetMasterPage and PGetMasterPageInfo queries
Adobe PageMaker 6.5 Help > Commands > Window > Master Pages
Comments or suggestions? Contact Adobe Developer Support